﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace com.magickms.cfg
{
    public partial class HotKeys : UserControl, IConfig
    {
        public HotKeys()
        {
            InitializeComponent();
        }

        #region IConfig 成员

        public void Init()
        {
            LvKeys.Items.Add(new ListViewItem(new string[] { "F8", "启动会话" }));
            LvKeys.Items.Add(new ListViewItem(new string[] { "F9", "暂停当前会话" }));
            LvKeys.Items.Add(new ListViewItem(new string[] { "F10", "继续当前会话" }));
            LvKeys.Items.Add(new ListViewItem(new string[] { "F11", "中止会话" }));
        }

        public bool Save()
        {
            return true;
        }

        public UserControl UserControl
        {
            get { return this; }
        }

        #endregion
    }
}
